.media-player-card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius-medium);
  margin-top: var(--spacing-lg);
  box-shadow: 0 2px 8px var(--color-shadow);
  box-sizing: border-box;
  padding: 0;
}

.media-players {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
}

.media-player {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  background: var(--color-background);
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
}

.media-player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  opacity: 0.3;
  transform: scale(1.2);
  z-index: 0;
}

.media-player[data-has-cover="true"]::before {
  background-image: var(--cover-image);
}

.player-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.player-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.player-info-row {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.player-cover {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-small);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-card-bg);
}

.cover-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.player-state {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding-top: var(--spacing-xs);
}

.player-volume {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-width: 0;
}

.volume-slider {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 4px var(--color-shadow);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px var(--color-shadow);
}

.volume-slider:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.volume-buttons {
  display: flex;
  gap: 4px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.control-button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--color-card-bg);
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 2px 4px var(--color-shadow);
}

.play-button {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
}

.control-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.control-button:not(:disabled):hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px var(--color-shadow);
}

.control-button:not(:disabled):active {
  transform: scale(0.95);
} 